﻿using Newtonsoft.Json;

namespace HobSoft.SoccerBet2014.Domain.Models.BfRaw
{
    public class PlaceInstruction
    {
        [JsonProperty(PropertyName = "orderType")]
        public OrderType OrderType { get; set; }

        [JsonProperty(PropertyName = "selectionId")]
        public long SelectionId { get; set; }

        [JsonProperty(PropertyName = "handicap")]
        public double? Handicap { get; set; }

        [JsonProperty(PropertyName = "side")]
        public Side Side { get; set; }

        [JsonProperty(PropertyName = "limitOrder")]
        public LimitOrder LimitOrder { get; set; }

        [JsonProperty(PropertyName = "limitOnCloseOrder")]
        public LimitOnCloseOrder LimitOnCloseOrder { get; set; }

        [JsonProperty(PropertyName = "marketOnCloseOrder")]
        public MarketOnCloseOrder MarketOnCloseOrder { get; set; }
    }
}
